<%@ page contentType="text/html; charset=UTF-8"  %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";

	String strRemoteIP = request.getRemoteAddr();
%>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>友和美订单管理系统</title>
<base href="<%=basePath%>"/>

<link rel="shortcut icon" href="images/favicon.ico" /> 
<link rel="stylesheet" type="text/css" href="script/easyui/themes/default/easyui.css">  
<link rel="stylesheet" type="text/css" href="script/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="script/ztree/css/zTreeStyle.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="script/kindeditor/themes/default/default.css" >

<script type="text/javascript" src="script/jquery.min.js"></script>
<script type="text/javascript" src="script/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="script/ztree/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="script/index.js"></script>
<script type="text/javascript" src="script/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="script/other/datagrid-detailview.js"></script>
<script type="text/javascript" src="script/easyui/portal/jquery.portal.js"></script>
<script type="text/javascript" src="script/jscharts/jscharts_mb.js"></script> 
<script type="text/javascript" src="script/util/mess.js"></script>
<script type="text/javascript">
$(function(){
	if('<%=strRemoteIP%>'=='192.168.0.239'){
		if_ip = true;
	}else{
		if_ip = false;
	}
});
</script>
</head>

<body class="easyui-layout">
	<div style="height: 80px;padding: 0 30px;" data-options="region:'north',border: false">
		<div style="float: left;margin-top: 10px;">
			<img src="images/logo0.gif" style="border: 0;"/>
		</div>
	</div>
	<div title="菜单栏" style="width:190px;overflow-y:scroll;"
		data-options="region:'west',split:true">
		<ul id="index_treeDemo" class="ztree">
			<li><a href="javascript:;" onclick="index_openTab('订单添加','order_add.action',false)">订单添加</a></li>
			<li><a href="javascript:;" onclick="index_openTab('订单管理','order_manager.action',true)">订单管理</a></li>
	        <li><a href="javascript:;" onclick="index_openTab('重做管理','redo_manager.action',true)">重做管理</a></li>
	        <li><a href="javascript:;" onclick="index_openTab('条码打印','order_bar_prn.action',false)">条码打印</a></li>
	        <li><a href="javascript:;" onclick="index_openTab('部门管理','dep_manager.action',true)">部门管理</a></li>
		</ul>
	</div>
	<div style="overflow:hidden;" data-options="region:'center'">
		<div id="mainbody" class="easyui-tabs" data-options="fit:true,border:false">
			<div title="主体部分" class="tabcontent"
				data-options="tools:[{
			        iconCls:'icon-mini-refresh',
			        handler:function(){loadIndex(true);}}]">
			<div id="index_pp" style="padding:8px 0;"><div></div><div></div><div></div></div>
			</div>
		</div>
	</div>
</body>
</html>